<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/10/26
 * Time: 10:56
 * 添加月归档记录
 */

$omar_start_time             = $route->bodyParams['omar_start_time'];               //这个月的开始时间
$omar_end_time               = $route->bodyParams['omar_end_time'];               //月结束时间
$omar_oesid                  = $route->bodyParams['omar_oesid'];                    //机构id
$omar_ocid                   = $route->bodyParams['omar_ocid'];                     //班级id



//写入数组
$insertArr = [
    'omar_start_time'   => $omar_start_time,
    'omar_end_time'   => $omar_end_time,
    'omar_oesid'  => $omar_oesid,
    'omar_ocid'  => $omar_ocid
];

//执行写入语句
$rsData = $db->mysqlDB->insert("oa_monthly_archiving_record",$insertArr);

//返回成功结果
$response->responseData( true, $rsData );